<template>
	<view class="content">
		<view class="formBox basic-info" >
			<view class="f-c-sb"><view class="label">车型信息*</view><view class="value">{{detail.brandModel}}</view></view>
			<view class="f-c-sb"><view class="label">车牌号码*</view><view class="value">{{detail.plateNo}}</view></view>
			<view class="f-c-sb"><view class="label">注册日期</view><view class="value">{{detail.regTime}}</view></view>
			<view class="f-c-sb"><view class="label">发动机号</view><view class="value">{{detail.carEngine}}</view></view>
			<view class="f-c-sb"><view class="label">车架号</view><view class="value">{{detail.carCode}}</view></view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				detail:{}
			}
		},
		onLoad(option) {
			if(option&&JSON.parse(option.param).detail){
				this.detail=JSON.parse(option.param).detail
			}
		}
	}
</script>

<style lang="less">
	.content{
		padding: 20rpx 0;
		background: #F5F5F5;
		.basic-info{
			.value{
				font-weight: bold;
				font-size: 28rpx;
				flex: 1;
				text-align: right;
				padding-left: 20rpx;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
			}
			.label{
				font-size: 28rpx;
			}
			.f-c-sb{
				padding: 30rpx 0;
				border-bottom: 1px solid #EDEDED;
			}
			.f-c-sb:last-child{
				border: none;
				padding-bottom: 15rpx;
			}
		}
	}
</style>
